# Description: SWIG Basitleştirilmiş Sarmalayıcı ve Arayüz Jeneratörü
# URL: http://www.swig.org/
# Packager: milisarge
# Depends on: pcre 

name=swig
version=3.0.8
release=1

source=("http://downloads.sourceforge.net/$name/$name-$version.tar.gz")

build() {
cd $name-$version
./configure --prefix=/usr \
--without-clisp \
--without-maximum-compile-warnings
make
make DESTDIR=$PKG install
install -v -m755 -d $PKG/usr/share/doc/$name-$version
cp -v -R Doc/* \
$PKG/usr/share/doc/$name-$version
install -D -m644 LICENSE $PKG/usr/share/licenses/$name/LICENSE
}
